home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / DESKHING / PICTURE3.LZH / TXT3.EXE / MANUAL7.TXT < prev   
Text File  |  1991-12-31  |  52KB  |  986 lines

  1.          PICTURETHIS(TM) "SHAREWARE" VERSION
  2.  
  3.          RELEASE 4.00
  4.  
  5.          DECEMBER 31, 1991
  6.  
  7.          USER MANUAL, PART 7 OF 7 PARTS
  8.  
  9.  
  10.          Copyright 1988, 1989, 1990, 1991 by Patricia Y. Williams and
  11.            Gregory Williams, All Rights Reserved.
  12.  
  13.          HortIdeas Publishing, 460 Black Lick Road, Gravel Switch,
  14.            KY 40328 U.S.A.
  15.  
  16.  
  17.          26. TEMPLATES
  18.  
  19.            Captured CGA, EGA, and VGA graphics screens can be brought
  20.          into PictureThis to use as templates for tracing. These
  21.          templates are read into PictureThis as described in Section
  22.          19.5.
  23.  
  24.          26.1. CAPTURING SCREENS FOR USE AS TEMPLATES
  25.  
  26.            The CaptureThis program supplied with PictureThis
  27.          (CAPTHIS.COM) is a memory-resident ("TSR") utility which
  28.          allows most CGA, EGA, and VGA graphics mode screens to be
  29.          saved in files which then can be loaded into PictureThis for
  30.          use as drawing guides (templates). To be saved in a file by
  31.          CaptureThis, a screen must be in the medium-resolution CGA
  32.          graphics mode (320 x 200 pixels), the high-resolution CGA
  33.          graphics mode (640 x 200 pixels), EGA graphics mode (640 x
  34.          350 pixels), or VGA graphics mode (640 x 480 pixels), and
  35.          the Print Screen function (normally accessed by
  36.          simultaneously pressing the Shift key and the PrtSc key next
  37.          to the numeric keypad) must be operational (a few programs
  38.          disable this function, preventing the capture of their
  39.          screens).
  40.            CaptureThis occasionally conflicts with some other memory
  41.          resident programs; if you have problems with CaptureThis
  42.          when using such programs (installed either before or after
  43.          CaptureThis has been installed), remove the programs and try
  44.          again with ONLY CaptureThis installed as a "TSR"; some
  45.          experimenting is necessary to determine which memory
  46.          resident programs can be used with CaptureThis on your
  47.          computer (and to determine when CaptureThis should be
  48.          installed relative to their installations -- before or
  49.          after).
  50.            SPECIAL NOTE: YOU SHOULD CONSIDER THE ETHICAL AND LEGAL
  51.          IMPLICATIONS OF CAPTURING SCREENS SHOWING COPYRIGHTED
  52.          MATERIALS, INCLUDING SOME SCANNED IMAGES; CONSULT AN
  53.          ATTORNEY FOR MORE INFORMATION ABOUT COPYRIGHT LAWS.
  54.            To capture a CGA, EGA, or VGA graphics mode screen from a
  55.          program, at the operating system prompt, with CAPTHIS.COM in
  56.          the current directory, key in "CAPTHIS" and then press
  57.          Enter. A brief message should appear to say that CaptureThis
  58.          is installed, and the operating system prompt should return.
  59.          If this doesn't happen, then either your copy of CAPTHIS.COM
  60.          is defective, or your hardware and/or software isn't
  61.  
  62.                                         98
  63.  
  64.          compatible with CaptureThis. If you try to install
  65.          CaptureThis again after it has already been installed, a
  66.          message noting that the program is already in memory
  67.          appears, and the operating system prompt returns. No
  68.          facility is provided for removing CaptureThis from memory,
  69.          once it has been installed.
  70.            Assuming that CaptureThis is installed, do whatever is
  71.          necessary to display a particular screen you want to capture
  72.          for use as a PictureThis template. Typically, this involves
  73.          running a graphics applications program. With the desired
  74.          screen being displayed, press (simultaneously) Shift PrtSc.
  75.          After these keys have been pressed, CaptureThis examines
  76.          certain memory locations written by the BIOS to determine
  77.          the current video mode.
  78.            If, when you pressed Shift PrtSc, CaptureThis determined
  79.          the current video mode as an allowable graphics mode, a
  80.          message appears at the top of the screen ("Perform Screen
  81.          Capture? (Y/N)"/"ESC to exit"). Press Y to proceed with
  82.          capturing the screen, or press N for a screen dump (CAUTION:
  83.          your computer might hang up if the printer is turned off or
  84.          disconnected; and GRAPHICS.COM, supplied with PC-DOS, or a
  85.          similar memory-resident graphics printer driver program must
  86.          have been loaded previously for a proper graphics screen
  87.          dump), or press Esc to continue with the applications
  88.          program WITHOUT saving or dumping the screen. Pressing any
  89.          other key has no effect.
  90.            If CaptureThis determines that the screen is not in an
  91.          allowable graphics mode, a normal screen dump is performed.
  92.          CAUTION: your computer might hang up if the printer is
  93.          turned off or disconnected; for a proper graphics screen
  94.          dump, you must have loaded an appropriate printer driver
  95.          program previously.
  96.            Assuming that you responded to the above message by
  97.          pressing Y, the second line of instructions is replaced by
  98.          "Filespec for save?" Key in the file name you want (with an
  99.          extension and directory specification, if appropriate).
  100.          Example template files included on the distribution disk
  101.          have a ".TMP" extension, and we suggest that extension for
  102.          your template files. Next, press Enter. Pressing Esc any
  103.          time before pressing Enter exits from CaptureThis and
  104.          restores the current screen. If a file with the
  105.          specification you have just entered already exists, the
  106.          second line of the message is replaced by "Overwrite [FILE
  107.          NAME]? (Y/N)"; pressing Y causes the file to be saved;
  108.          pressing Esc removes the instructions from the screen and
  109.          allows you to proceed without capturing or printing the
  110.          current screen; pressing any other key results in a prompt
  111.          for a different file name (keyed in as described above).
  112.            Wait until disk activity stops before proceeding. If the
  113.          screen was captured successfully, the instructions are gone
  114.          from the screen, and you can proceed as usual with the
  115.          application program. If there was a problem with file
  116.          operations, an error message appears; press any key to
  117.          proceed without capturing or printing the current screen (of
  118.          course, you can attempt to correct the cause of the problem,
  119.          such as a full, bad, or write-protected disk, and then call
  120.          up CaptureThis again by pressing Shift PrtSc).
  121.            If CaptureThis doesn't work correctly with your computer
  122.          or with particular programs, you should try the Alternate
  123.          CaptureThis program (ACAPTHIS.COM) instead. Once installed,
  124.  
  125.                                         99
  126.  
  127.          this program doesn't require any keyboard input other than
  128.          Shift PrtSc to capture CGA graphics mode screens, and thus
  129.          works even with programs which "take over" the keyboard
  130.          (unless they take over the Print Screen interrupt).
  131.            To install Alternate CaptureThis, at the DOS prompt
  132.          corresponding to the drive containing the disk with
  133.          ACAPTHIS.COM, key in "ACAPTHIS" and then press ENTER. A
  134.          message noting that Alternate CaptureThis has been installed
  135.          should appear, and the DOS prompt should return. Any time
  136.          after Alternate CaptureThis has been installed, you can
  137.          capture a CGA, EGA, or VGA graphics screen simply by
  138.          pressing Shift PrtSc. If Alternate CaptureThis determines
  139.          (from your computer's BIOS) that the current video mode is
  140.          NOT an allowable graphics mode, it performs a normal screen
  141.          dump to a printer. CAUTION: If a printer is not connected,
  142.          or if it is turned off, your computer might hang up; for a
  143.          graphics screen dump, you must have installed a memory-
  144.          resident graphics printer driver program appropriate for the
  145.          graphics mode PRIOR to installing Alternate CaptureThis. If,
  146.          according to the BIOS, the current video mode IS an
  147.          allowable graphics mode, Alternate CaptureThis captures the
  148.          screen in a file named "A0.TMP" (in the current directory).
  149.          Subsequently captured screens are saved in files having the
  150.          following sequence of names: A1.TMP, ..., A9.TMP, B0.TMP,
  151.          ..., B9.TMP, ..., C0.TMP, ... CAUTION: Each time ACAPTHIS is
  152.          installed it will save screens in files (beginning with
  153.          A0.TMP) WRITING OVER ANY EXISTING FILES IN THE CURRENT
  154.          DIRECTORY WITH THE SAME NAMES WITHOUT WARNING -- so after
  155.          saving a series of files with ACAPTHIS, you should rename
  156.          them before installing ACAPTHIS again, to guard against
  157.          overwriting, and to provide more descriptive names.
  158.            Each template file written by CaptureThis or Alternate
  159.          CaptureThis for CGA screens has a length of 16192 bytes.
  160.          Template files for EGA and VGA screens are compressed, so
  161.          the size will vary with the complexity of the screen. When
  162.          imported into PictureThis (see Section 19.5), pixels in the
  163.          template which are the color of the cursor and curves on the
  164.          PictureThis drawing screen are changed to an alternate color
  165.          so that the cursor and curves drawn with PictureThis will
  166.          always show up. Color remappings are performed
  167.          automatically; these mappings were chosen to preserve as
  168.          much fidelity to the original applications program screens
  169.          as possible.
  170.  
  171.          26.2. MOVING THE TEMPLATE
  172.  
  173.            When a template is read into PictureThis, it is placed in
  174.          the middle of entire drawing screen. If you want to move the
  175.          template to use it for tracing on a different part of the
  176.          screen, WHILE AT THE 100% SCREEN, press F9 to access the
  177.          miscellaneous menu, then press T. The state changes to
  178.          "TMPMOV." Move the cursor to the position on the template
  179.          which you wish to move (the start point); press F1. Now move
  180.          the cursor (a dotted line follows) to the point to which you
  181.          want to move the start point; press F3. The template moves,
  182.          and the state returns to "FREE." Press Esc to back out of
  183.          the operation.
  184.  
  185.          27. DRAWING HINTS
  186.  
  187.                                         100
  188.  
  189.            This section contains several "hints" to make drawing with
  190.          PictureThis easier and to produce better results.
  191.  
  192.          27.1. JOINING CURVES AT ENDPOINTS ONLY
  193.  
  194.            This is an important rule when using PictureThis! Because
  195.          the screen resolution is much lower than prints made by
  196.          laser printers and imagesetters, a curve which "looks like"
  197.          it joins another curve on the drawing screen might NOT join
  198.          it at all or might cross the other curve on the printed
  199.          output. Moreover, the results will be different for
  200.          different PostScript-compatible output devices, depending on
  201.          their resolution. IF A CURVE NEEDS TO JOIN A PREVIOUSLY
  202.          DRAWN CURVE PRECISELY AT A POINT NOT ALREADY AN ENDPOINT,
  203.          YOU SHOULD CUT THE PREVIOUSLY DRAWN CURVE TO MAKE A NEW
  204.          ENDPOINT.
  205.  
  206.          27.2. USING THE Del KEY TO MOVE TO ENDPOINTS
  207.  
  208.            It is necessary to be EXACTLY on an endpoint to join
  209.          curves PRECISELY. The best way to do this is to use the Del
  210.          key on the numeric keypad. Moving the cursor with the
  211.          numeric keypad number keys to what APPEARS to be an endpoint
  212.          will NOT necessarily result in the cursor being on the
  213.          endpoint. (On the 50% screen in CGA mode 2304 internal-unit
  214.          points show as the same point on the drawing screen!)
  215.  
  216.          27.3. SMOOTHER SMOOTHING
  217.  
  218.            Smoothed curves might appear "smoother" if, during
  219.          smoothing, you move the control points AS FAR AS POSSIBLE
  220.          out along the tangent lines away from their associated
  221.          endpoints. This effect is because of rounding during
  222.          calculations.
  223.  
  224.          27.4. JOINING CURVES WITH DIFFERENT LINE WEIGHTS
  225.  
  226.            When joining curves with different line weights at a
  227.          common endpoint, the results can appear "sloppy" on the
  228.          hard-copy output. This is because the PostScript language
  229.          allows "neat" joining of curves only if they have the same
  230.          line weight (see Section 14.4.3). The best general advice we
  231.          can give for avoiding "sloppiness" when joining curves is to
  232.          keep the line weights of the curves nearly the same, and to
  233.          connect LARGER line weight curves as the cross-members at
  234.          "T" intersections, as shown below.
  235.  
  236.                       O.K.                          NO!
  237.               ___________________           ___________________
  238.                        |     \                       |  \
  239.                        |      WIDE                   |   NARROW
  240.                        |                             |
  241.                        |--NARROW                     |--WIDE
  242.                        |                             |
  243.  
  244.          27.5. DOING DETAILED WORK ON HIGH MAGNIFICATION SCREENS
  245.  
  246.            For detailed work, it is best to use the 300%, 600%,
  247.          1200%, or 2400% screens. You can see what you are doing on
  248.          any of these screens better than on the 100% screen, and
  249.  
  250.                                         101
  251.  
  252.          endpoints can be positioned more precisely at high
  253.          magnifications. Occasionally, it is useful to establish
  254.          endpoint locations on a high magnification screen before
  255.          drawing a curve on the 100% screen. This can be done by
  256.          noting points for each endpoint while at high magnification,
  257.          then using the resulting noted points to draw the curve on
  258.          the 100% screen.
  259.  
  260.          27.6. DOING FINE WORK ON A LARGE SCALE AND THEN SCALING DOWN
  261.  
  262.            To draw EXTREMELY fine work, you can make a drawing at a
  263.          large scale and then reduce it by scaling it down. The
  264.          scaled-down object might not look perfect on the drawing
  265.          screen, but it should look fine on the PostScript output.
  266.  
  267.          27.7. DRAWING AN OVAL WITH SIDE ENDPOINTS AT SPECIFIC
  268.                POSITIONS
  269.  
  270.            Normally, an oval (or circle) is drawn by first specifying
  271.          the center of the oval. You can set the side endpoints of
  272.          the oval to be in specific positions (say at specific
  273.          endpoints), by using measuring (see Section 23.2). First
  274.          change the units to pixels (temporarily) for exact
  275.          measurements (see Section 20.1) First move the cursor to one
  276.          of the desired endpoints and remember its position (from the
  277.          current position box). Then press M, move the cursor
  278.          horizontally to the opposite desired endpoint, and press F3.
  279.          Then key in "50" and press Enter to move the cursor to the
  280.          center of the oval. Press "O" to start drawing the oval as
  281.          usual. Move the cursor along the guideline to the first
  282.          remembered endpoint. (You cannot press Del to get to the
  283.          endpoint, because the cursor is restrained to the
  284.          guidelines.) Then complete the oval.
  285.  
  286.          27.8 ROUNDING CORNERS
  287.  
  288.            To change a corner with two lines meeting at ANY angle to
  289.          a rounded corner (for example, to make a box with rounded
  290.          corners), cut each of the two lines at the point at which
  291.          you want the rounding to start (see Section 11). Then draw a
  292.          curve with an endpoint at each cut position and ONE control
  293.          point at the intersection of the two lines (the other
  294.          control point should not be moved off the endpoint). This
  295.          creates a smoothly rounded corner, even if the cut positions
  296.          were not equidistant from the corner. Erase the lines from
  297.          the cut position to the original corner (see Section 12.1).
  298.  
  299.          27.9 CHECKING FOR WIDE SPACING WHEN FULLY JUSTIFYING
  300.  
  301.            When a text line is fully justified, extra space is
  302.          inserted between each word to make the line extend all the
  303.          way to the right margin. If hyphenation is turned off or if
  304.          PictureThis cannot find a hyphenation point in the first
  305.          word in the following line, the added space can be quite
  306.          large, and look unattractive. The easiest way to find lines
  307.          with large spaces between words is to greek the text by
  308.          pressing J. Any lines with large spaces will stand out. If
  309.          you want to correct such lines, cut the text back to the
  310.          editor, and change the wording or insert a HARD-HYPHEN.
  311.          While in the editor, you can check for lines with large
  312.  
  313.                                         102
  314.  
  315.          spaces by going to the end of each line and looking at the
  316.          Width Remaining (WR) indicator in the status line. If any
  317.          lines have considerably more width remaining than most
  318.          lines, they will have large spaces. If hyphenation has been
  319.          turned off, you will have many more lines with larger spaces
  320.          than you will otherwise.
  321.  
  322.          27.10 MAKING A TEXT LINE FIT WITH TRACK KERNING
  323.  
  324.            Occasionally, you will find a text line that almost but
  325.          not quite fits within the margin. If you do not want this
  326.          line to be broken, you can insert a track kerning
  327.          typesetting code with a small negative unit value (e.g.,
  328.          <TK-3>) at the beginning of the text line and then compose
  329.          (F3). You may have to try various negative numbers, until
  330.          you find one that will work.
  331.  
  332.          27.11 USING PAIRWISE KERNING
  333.  
  334.            Do not use pairwise kerning with small text; it does not
  335.          improve the appearance of small text noticably. Pairwise
  336.          kerning can make large text look better, so it can and
  337.          should be used with large text.
  338.  
  339.          28. KARTOONS MODE
  340.  
  341.            All work and no play makes for dull graphic artists, and
  342.          so we've included this "fun" mode in PictureThis. But it
  343.          isn't ONLY for play: you can learn a lot about the program's
  344.          features and how to use them by 'tooning around!
  345.            When in the "FREE" state, press K and respond
  346.          appropriately to subsequent prompts to enter Kartoons mode.
  347.          In this mode, you can cycle through, modify, and save
  348.          cartoon faces composed of parts (such as eyes and noses),
  349.          each part associated with one of nine blocks (corresponding
  350.          to forehead, left and right ears, chin, left and right
  351.          eyebrows, left and right eyes, and nose). Files for several
  352.          parts and faces (collections of particular parts) are
  353.          provided in the \KARTOON directory on one of the
  354.          distribution disks. Part files are named !FOREHD.NNN,
  355.          !LEAR.NNN, !REAR.NNN, !CHIN.NNN, !LBROW.NNN, !RBROW.NNN,
  356.          !LEYE.NNN, !REYE.NNN, and !NOSE.NNN, where NNN = 1 to 999;
  357.          the format of each of these files is that of a standard clip
  358.          art file. Face files are named *.FAC.
  359.            To quit Kartoons mode and return to normal drawing mode,
  360.          press C and respond appropriately to the prompts.
  361.            In Kartoons mode, most PictureThis operations work
  362.          normally. Those which don't are noted below. Special
  363.          Kartoons-mode keys include the following:
  364.            K (mnemonic: "khoose") cycles through the nine blocks,
  365.          showing each in turn. After pressing K, you also can use +
  366.          (same as Space) to cycle "forward" and - to cycle
  367.          "backward." Enter selects (stops at) a block; any other key
  368.          stops at a block and continues with the operation
  369.          corresponding to that key.
  370.            U (mnemonic: "use") cycles through parts (having files in
  371.          the current part directory, which you might have been
  372.          prompted to enter) associated with the currently selected
  373.          block. After pressing U, you also can use + (same as Space)
  374.          to cycle "forward" and - to cycle "backward." The order of
  375.  
  376.                                         103
  377.  
  378.          cycling is based on the file extension numbers, relative to
  379.          the file extension number of the current part. Enter selects
  380.          (stops at) a part; any other key stops at a part and
  381.          continues with the operation corresponding to that key.
  382.            Y (mnemonic: "yes save") saves an object as a part file
  383.          associated with the currently selected block. The procedure
  384.          is the same as for saving clip art files, with successive
  385.          objects dashed for choosing, except that there is no prompt
  386.          for a file name. Part files are named automatically, based
  387.          on their associated block at the time of saving; extension
  388.          numbers are assigned in consecutive order.
  389.            The file menu (accessed as usual by pressing F10) has no
  390.          "GetDRW" in Kartoons mode; instead, there is "GetFAC." And
  391.          the menu also has "PutFac."  Each face file (saved by
  392.          pressing P at the file menu and then keying in a name;
  393.          retrieved by pressing G at the file menu, etc.) consists of
  394.          a set of nine numbers which correspond to the extensions of
  395.          the files for parts of that face. (When accessed with the
  396.          view or Quickshow screen showing, the file menu shows only
  397.          "SavDRW"; you can read or write a face file only with the
  398.          drawing screen showing.)
  399.            Note: if you make many changes to parts of a face, the
  400.          program memory can become full. If you see a message saying
  401.          that the memory is almost full, quit Kartoons mode by
  402.          pressing C, then reenter Kartoons mode by pressing K. The
  403.          excess memory is released, and the face reappears AS YOU
  404.          LEFT IT.
  405.  
  406.          29. CONVERTING A WORD PROCESSOR FILE
  407.  
  408.            Text can be prepared for a PictureThis drawing entirely in
  409.          the editor, but you might want to typeset text which was
  410.          previously prepared in a word processor. In Section
  411.          18.5.2.10, you learned how to import an ASCII file into the
  412.          PictureThis editor. If you import a file directly from a
  413.          word processor into the PictureThis editor, you will have
  414.          usable, but not necessarily ideal, text. The editor IGNORES
  415.          any Ctrl characters which it does not use (such as a
  416.          linefeed) and replaces RETURNS with its own END-OF-PARAGRAPH
  417.          character (down-arrow). This is fine in some cases, but not
  418.          in others.
  419.            Various word processors use different methods to mark
  420.          special occurrences (e.g., indents, page breaks) in their
  421.          files. In particular, each word processor has a special
  422.          method to distinguish between HARD-RETURNS (returns which
  423.          the user enters) and SOFT-RETURNS (returns which the word
  424.          processor inserts when it decides that a line needs to be
  425.          wrapped). A typical method is to use a SPACE followed by a
  426.          CR for a SOFT-RETURN and just a CR for a HARD-RETURN. For
  427.          typical text imported into the PictureThis editor, you want
  428.          the SOFT-RETURNS to turn into just a SPACE and the HARD-
  429.          RETURNS to turn into just a CR, since you are reformatting
  430.          the text into a different margin. To solve this problem and
  431.          other similar problems, you can run the word-processor
  432.          prepared file through the program CONVERT before you import
  433.          it into PictureThis.
  434.            CONVERT is a standalone text replacement program useful
  435.          whenever you need to modify an ASCII file. It uses convert
  436.          instruction files (we recommend using the extension .CVT),
  437.          consisting of comments and search/replace pairs. We have
  438.  
  439.                                         104
  440.  
  441.          prepared a standard convert instruction file (STANDARD.CVT)
  442.          which is useful with many word processor files.
  443.            To run CONVERT, simply type CONVERT at the command line.
  444.          You are first asked for the name of the ASCII file you want
  445.          to convert. Type in its name (with path if necessary) and
  446.          press ENTER. You are then asked for the name of the file you
  447.          want to write. Type it in and press ENTER. You are asked for
  448.          the name of the conversion instruction file (e.g.,
  449.          STANDARD.CVT). Type it in and press ENTER. You are asked if
  450.          you want to replace all multiple spaces with single spaces.
  451.          (This is preferable for most typesetting. When most people
  452.          type, they place two spaces at the end of each sentence.
  453.          This is usually NOT done when typesetting text, so it is
  454.          desirable to get rid of the multiple spaces. There are
  455.          occasions when it is not desirable to get rid of multiple
  456.          spaces; for instance, if you are typesetting computer code,
  457.          the multiple spaces at the beginning of each line give the
  458.          code "structure" which you want to maintain.) If you want to
  459.          change multiple spaces to single spaces, press Y, otherwise
  460.          press any other key. Finally you are asked if you want to
  461.          strip the high-order bits of each character. WORDSTAR and
  462.          some other word processors mark certain characters by adding
  463.          a high-order bit to the character (equivalent to adding 128
  464.          to the character's ASCII value). For files from these word
  465.          processors, press Y; the high-order bits are stripped off.
  466.          (In general, this usually won't harm text prepared by non-
  467.          WORDSTAR-like word processors.) CONVERT then reads the first
  468.          10000 characters of your Ascii file (or the whole file, if
  469.          it is shorter than 10000 characters). It performs the first
  470.          search/replace command in the chosen convert instruction
  471.          file on the entire read portion of the file. Then it
  472.          performs the second search/replace command on the results of
  473.          the first command. It continues until it performs all of the
  474.          search/replace commands in the chosen convert instruction
  475.          file, then it writes the resulting portion of the file. It
  476.          then reads the next 10000 characters of the ASCII file and
  477.          repeats the process on this portion of the file. It
  478.          continues to read and process portions of the ASCII file
  479.          until it has processed all of it.
  480.            Since CONVERT processes portions of the Ascii file
  481.          separately (so that it can handle any size file), it is
  482.          possible that at a break between portions, a search/replace
  483.          command is incorrectly processed. CONVERT attempts to
  484.          correct such errors, but it is still possible (though
  485.          unlikely) that such an error could occur. If there is a
  486.          possible error at any break point, CONVERT informs you where
  487.          the error might occur. Even if CONVERT warns you of such a
  488.          possible error, it is not likely that such an error actually
  489.          occurred, and you probably can ignore the warning. If such
  490.          an error occurred, you would probably notice it in the
  491.          process of normal proofreading.
  492.            To make a convert instruction file, use a text editor or
  493.          word processor. You do not want any special control codes,
  494.          etc. in your convert file, so save the file as an ASCII file
  495.          or non-document file. Or you can use the PictureThis editor
  496.          to make a convert instruction file. Here are the rules:
  497.  
  498.          No line can be longer than 80 characters.
  499.  
  500.          Any line starting in column 1 with a SEMICOLON (;) is
  501.  
  502.                                         105
  503.  
  504.          considered a comment and ignored.
  505.  
  506.          Any line consisting only of a CARRIAGE RETURN is ignored. A
  507.          search line is any other line, and is immediately followed
  508.          by a replace line (no comments or empty lines are allowed
  509.          between search and replace lines).
  510.  
  511.          Any keyboard character except '=' or ';' (d,G,8,*, etc.) can
  512.          be included in a search or a replace line, and represents
  513.          itself. Special strings beginning with '=' can also be used,
  514.          as described below. (In the table 'N' represents a single
  515.          digit, 0 - 9.)
  516.  
  517.          Special Character       Meaning
  518.  
  519.          =e or =E                carriage return
  520.          =l or =L                line feed
  521.          ==                      equals sign
  522.          =;                      semicolon
  523.          =NNN                    the character represented by the ASCII
  524.                                    value NNN; NNN must be less than
  525.                                    256 (e.g., =032 is the same as
  526.                                    SPACE, and easier to read)
  527.          =?N                     a wildcard character that matches any
  528.                                    character
  529.          =aN                     a wildcard character that matches any
  530.                                    alphabetic character (a-z, A-Z)
  531.          =#N                     a wildcard character that matches any
  532.                                    digit (0-9)
  533.          =.N                     a wildcard character that matches any
  534.                                    punctuation character
  535.  
  536.          Examples of search lines:
  537.  
  538.          the dog                 will match 'the dog'
  539.  
  540.          =a3=#9                  will match 'A1', 'j5', 'Q0'
  541.  
  542.          =?5"=032                will match 't" ', '?" ', '4" '
  543.  
  544.          t=a1=.7g                will match 'th,g', 'tD@g'
  545.  
  546.            When a match is found, it is replaced by what the replace
  547.          line indicates. A normal character in a replace line
  548.          produces that character. A wildcard character uses the
  549.          character that was found to replace it in its position.
  550.  
  551.          Examples of search/replace pairs:
  552.  
  553.          the dog                 'the dog' will be replaced by 'the cat'
  554.          the cat
  555.  
  556.          =a3=#9                  'A1' will be replaced by '1a'; 'j5'
  557.          =#9=a3                    will be replaced by '5j'
  558.  
  559.          =?5"=032                't" ' will be replaced by 't'' '
  560.          =?5''=032
  561.  
  562.          =a1=#1=a2=#2            'b3c4' will be replaced by 'cb43';
  563.          =a2=a1=#2=#1            'A9Q8' will be replaced by 'QA89'
  564.  
  565.                                         106
  566.  
  567.            You cannot have a wildcard character in a replace line
  568.          which does not appear in the corresponding search line. An
  569.          equals sign followed by characters which are not in the
  570.          previous list is also an illegal string. If an illegal
  571.          search/replace pair is found, CONVERT aborts the conversion
  572.          process.
  573.  
  574.          Examples of illegal search/replace pairs:
  575.  
  576.          =q4
  577.          a=q4
  578.  
  579.          =?abc
  580.          =?cba
  581.  
  582.          =32dog
  583.          dog
  584.  
  585.          =a2cat=a4
  586.          =a1dog=a4
  587.  
  588.          =456
  589.          ggg
  590.  
  591.            STANDARD.CVT includes search/replace pairs to do the
  592.          following:
  593.  
  594.          Replace SPACE followed by CARRIAGE RETURN with a SPACE. (To
  595.          get rid of some SOFT-RETURNS.)
  596.  
  597.          Replace DOUBLE-QUOTES with a pair of SINGLE-QUOTES. (This is
  598.          normal typesetting practice.)
  599.  
  600.          Replace a TAB with 8 spaces. (If your word processor indents
  601.          with TABs, you might want to change a TAB to no characters
  602.          instead.)
  603.  
  604.          Replace a < with the special character used to start a
  605.          typesetting code in the PictureThis editor.
  606.  
  607.          Replace a > with the special character used to end a
  608.          typesetting code in the PictureThis editor.
  609.  
  610.            We don't know all of the ways word processors represent
  611.          SOFT-RETURNS and other important codes. If STANDARD.CVT does
  612.          not work properly with your word-processor files, you can
  613.          modify it and/or add to it to make it work. Sometimes just
  614.          writing the file out in ASCII mode might help. Try it! To
  615.          find out how your word processor represents SOFT-RETURNS,
  616.          write a short file in your word processor. Then look at the
  617.          HEX version of it using any one of numerous utilities that
  618.          exist. We'd use LOTUS MAGELLAN, but there are many more. Try
  619.          to figure out what code your word processor is using for a
  620.          SOFT-RETURN, and write a conversion instruction file to
  621.          change it to a SPACE.
  622.  
  623.          30. COMMAND LINE PARAMETERS/CONFIGURATION FILE
  624.  
  625.            When you install PictureThis, you must specify how many
  626.          curves you want to allow for and what screen type you are
  627.  
  628.                                         107
  629.  
  630.          using. This information is saved in a configuration file in
  631.          the default directory (called PICTHIS.CFG) and used each
  632.          time you run PICTHIS4, so you don't have to type in
  633.          configuration information when you subsequently run
  634.          PictureThis unless you want to change it.
  635.            The two command line parameters are, IN ORDER:
  636.  
  637.          1. A letter (a-h or A-H). The letter indicates how many
  638.          curves are to be allowed. An 'A' (or 'a') means 250 curves.
  639.          Each succeeding letter adds 250 more curves, so: a = 250; b
  640.          = 500; c = 750; d = 1000; e = 1250; f = 1500; g = 1750; h =
  641.          2000. The default is A.
  642.  
  643.          2. A three letter indicator of the screen type: CGA, EGA, or
  644.          VGA. If not specified, the default is CGA. (Case is ignored,
  645.          so ega means the same as EGA.)
  646.  
  647.            The command line parameters must be specified in order,
  648.          but you do not need to specify both of them. If you need to
  649.          specify only the number of curves, just specify the first
  650.          parameter. But if you need to change the screen type, you
  651.          must specify the first two parameters.
  652.  
  653.          Examples of legal command lines:
  654.  
  655.          PICTHIS4 b ega
  656.  
  657.          PICTHIS4 A VGA
  658.  
  659.          picthis4 d
  660.  
  661.          picthis4 c EGA
  662.  
  663.            PictureThis saves in PICTHIS.CFG not only these command
  664.          line parameters, but also the aspect ratio and the
  665.          directories of the font files, the screen font files, and
  666.          the Kartoon features files. When you install PictureThis,
  667.          PICTHIS.CFG includes the directories of these files as
  668.          installed. If you change the locations of these files, and
  669.          PictureThis cannot find the needed file, it asks you for a
  670.          new directory. After you type in this new directory, it is
  671.          saved in PICTHIS.CFG, so you do not have to type in the
  672.          directory every time you run PictureThis.
  673.  
  674.          31. MEMORY MANAGEMENT
  675.  
  676.            PictureThis is a large and complex program which maintains
  677.          a large amount of user generated data and thus uses a lot of
  678.          computer memory. But it is still usable on a PC with only
  679.          standard memory (640K). There is no need to have extended
  680.          and/or expanded memory (though you can use them (see Section
  681.          32)).
  682.  
  683.          31.1 MEMORY USAGE
  684.  
  685.            In addition to memory used by the program itself, and
  686.          small amounts of memory used and then freed during various
  687.          operations, five types of data use considerable memory:
  688.  
  689.          1. Data used to define curves, endpoints, trails, and
  690.  
  691.                                         108
  692.  
  693.          objects. You must specify how many curves are allowed with a
  694.          command line parameter (see Section 30). See Section 31.2 to
  695.          determine how to handle this curve space.
  696.  
  697.          2. Textblock data (all of the text, plus all of the
  698.          information needed for placing the text in the proper
  699.          position, with the proper font, size, etc.). The memory
  700.          required for this depends on how much text is in a drawing.
  701.          When a textblock is cut or deleted, much of the memory it
  702.          used is freed, but a portion of it is NOT freed. If you cut
  703.          and delete large textblocks frequently, you can build up a
  704.          considerable amount of unusable memory. THIS MEMORY CAN BE
  705.          FREED SIMPLY BY SAVING YOUR DRAWING AND THEN GETTING IT
  706.          AGAIN.
  707.  
  708.          3. Font information (character widths, kerning, etc.) for
  709.          each font used and definitions of all characters for each
  710.          screenfont used.
  711.  
  712.          4. Background pixel color values for the drawing screen.
  713.          When each curve is drawn, the previous color of each pixel
  714.          in the curve is saved. This allows you to move or erase a
  715.          curve (or a full object) without leaving "holes" in the
  716.          background. (This is most obvious when you are using a
  717.          template.) This information is saved in a highly compressed
  718.          form used not only for redrawing the background when an
  719.          element is erased, but also for dashing elements for
  720.          selection (e.g., when choosing an object to copy). CGA mode
  721.          uses less pixel memory than EGA mode, which uses somewhat
  722.          less than VGA mode. Unfortunately, a page of small text uses
  723.          a lot of pixel memory, sometimes more than is available.
  724.          "Greeking" the text helps, but is sometimes undesirable.
  725.          See Section 31.3 for a way to eliminate the pixel memory
  726.          used for text.
  727.  
  728.          5. A VGA template uses a portion of memory, only when a
  729.          template is read into PictureThis, and only in VGA mode. If
  730.          you no longer need a VGA template, you can free memory by
  731.          saving your drawing, exiting PictureThis, and then
  732.          restarting PictureThis.
  733.  
  734.          31.2 CURVE SPACE
  735.  
  736.            Memory used to store curve, endpoint, and object
  737.          definitions is determined each time that you start
  738.          PictureThis by a command line parameter or by the
  739.          PICTHIS.CFG configuration file. You can choose by command
  740.          line parameters (see Section 30), how many curves you want
  741.          to allow (proportional numbers of endpoints and objects are
  742.          then allowed also). For a simple drawing or a mostly textual
  743.          page choose A, the default. For more complex drawings,
  744.          choose a higher setting. The memory allocated when the
  745.          program starts is called "curve space."
  746.            You can determine how close you are to the limits for
  747.          curves, endpoints, and objects by checking the curve space
  748.          used box, which is toggled on (ONLY when the viewscreen (V)
  749.          is on) by pressing U. A box appears in the lower left corner
  750.          of the viewscreen, showing how many curves, endpoints, and
  751.          objects you have used, and how many are allowed. To toggle
  752.          off the curve space used box, press U again. When the value
  753.  
  754.                                         109
  755.  
  756.          of any of these parameters (for curves, endpoints, or
  757.          objects) reaches 90% of its maximum, a message appears at
  758.          the top of the screen: "OVER 90% OF CURVE SPACE USED"/"Press
  759.          any key to continue." This is just a warning, and you can
  760.          proceed as usual. This message continues to appear with
  761.          every subsequent curve added, unless conditions are changed.
  762.          When the value of any of the parameters reaches 98% of its
  763.          maximum, another message appears at the top of the screen:
  764.          "CURVE SPACE FULL - SAVE DRAWING NOW"/"Press any key to
  765.          continue." Subsequently, each time you add a curve, this
  766.          message reappears.  We recommend that you add NO MORE THAN A
  767.          CURVE OR TWO after the "CURVE SPACE FULL" message appears
  768.          for the first time, because if you run over the memory
  769.          limits, memory is overwritten and program behavior can
  770.          become UNPREDICTABLE! In short, you should SAVE YOUR DRAWING
  771.          AS SOON AS POSSIBLE AFTER SEEING THE "CURVE SPACE FULL"
  772.          MESSAGE. (Note that you may see these messages repeatedly
  773.          while a object is being manipulated (moved, copied, etc.).
  774.          Just keep pressing a key until the messages stop.
  775.          PictureThis will NOT let you manipulate an object if there
  776.          is not enough memory. However, save your drawing as soon as
  777.          the copy is complete!)
  778.            If the memory limits are approached for curves, endpoints
  779.          or objects, saving the drawing and then retrieving the saved
  780.          drawing file reduces the number of curves, endpoints, and/or
  781.          objects, IF any were erased (or cut) during the drawing
  782.          process. (Object manipulations can create large numbers of
  783.          erased endpoints.) If you continue to have problems, restart
  784.          PictureThis with a "higher" letter (for example, B instead
  785.          of A).
  786.  
  787.          31.3 TEXT BACKGROUND SAVE
  788.  
  789.            Text, especially a page full of small-point-size text uses
  790.          a lot of pixel memory. There frequently isn't enough memory
  791.          to display a full page of small text on the screen. To solve
  792.          this problem, we have added the ability to turn off the
  793.          background save FOR TEXT ONLY. To do this, press F9 to enter
  794.          the Miscellaneous menu, and then press B. You can choose S
  795.          for saving the text background or N for NOT saving the text
  796.          background. With either selection, the program functions
  797.          essentially the same. When NoSave is chosen, there are only
  798.          minor differences:
  799.  
  800.          a. When any text is erased, a hole is left in the
  801.          background. Press D to redraw and get rid of the hole.
  802.  
  803.          b. Where text is normally dashed-and-dotted (e.g., for
  804.          grouping an object), it is dashed with NoSave.
  805.  
  806.          c. Dashing and erasing of text is slower.
  807.  
  808.            For normal drawing with only small amounts of text, use
  809.          the Save option (the default). If you are doing a full page
  810.          of text, it is probably preferable to use the NoSave option
  811.          and/or to "greek" the text (on the drawing screen only). If
  812.          you save a drawing, the current Save/NoSave option is saved
  813.          with the drawing and is used when the drawing is imported.
  814.  
  815.          31.4 INSUFFICIENT MEMORY ERROR MESSAGES
  816.  
  817.                                         110
  818.  
  819.            When you are setting text from the editor, you might see a
  820.          message: NOT ENOUGH MEMORY FOR TEXT - SavDRW & GetDRW. Don't
  821.          panic. Save your drawing. Import it again. Then go back into
  822.          the editor and check whether you have placed an END-OF-TEXT
  823.          marker (Ctrl Q) in the appropriate place (you might have
  824.          been trying to set the contents of the entire editor, which
  825.          could be much more than will fit on the page); if not, put
  826.          one in. Press F5 to try setting the text again. If it
  827.          doesn't work this time, you will have to "greek" the text on
  828.          the drawing screen or switch to NoSave for text background.
  829.            For any other "NOT ENOUGH MEMORY" error message, do some
  830.          or all of the following (usually in the order specified):
  831.  
  832.          1. Save your drawing and get it again without leaving
  833.          PictureThis.
  834.  
  835.          2. If you have a lot of text, "greek" the text by pressing
  836.          J.
  837.  
  838.          3. If you are in Kartoons mode, press C to exit Kartoons
  839.          mode, then K to reenter Kartoons mode where you left it, but
  840.          with extra memory available.
  841.  
  842.          4. If you have a lot of text, switch to NoSave text
  843.          Background save setting.
  844.  
  845.          5. Save your drawing, exit PictureThis, and reenter it with
  846.          a lower curve letter (e.g., B instead of F).
  847.  
  848.          6. Exit PictureThis. At the DOS prompt type:
  849.  
  850.             SET RTVMCONV=0
  851.  
  852.          Restart PictureThis. This causes PictureThis to use the
  853.          least possible amount of memory for program execution,
  854.          leaving more for data. This will only have an effect if you
  855.          do not have extended or expanded memory that PictureThis can
  856.          use for swapping. PictureThis will now need to swap parts
  857.          of PICTHIS4.OVL from disk more frequently. This is fine if
  858.          PICTHIS4.OVL is on a fast hard disk or a RAM disk, but could
  859.          slow it down unacceptably if it is on a floppy. If the
  860.          slowdown is unacceptable, reset it by typing (at the DOS
  861.          prompt):
  862.  
  863.             SET RTVMCONV=25.%
  864.  
  865.          (Don't forget the period before the percent sign.) If the 0
  866.          setting has a desirable effect, you may want to place this
  867.          line in your AUTOEXEC.BAT file or another batch file. (See
  868.          your DOS manual.) See Section 32 for more information on
  869.          program swapping.
  870.  
  871.          7.  One other step can be taken if you are under severe
  872.          memory limitations: before you use the editor, and before
  873.          you bring in any drawings or clip art containing text, press
  874.          J one time. This prevents the screen fonts (which take
  875.          considerable memory) from loading; unfortunately you then
  876.          are unable to see the characters, even on the Quickshow
  877.          screen.
  878.  
  879.                                         111
  880.  
  881.          32. OPTIMIZING OVERLAY SWAPPING
  882.  
  883.            To allow for more memory for data, the PictureThis program
  884.          is contained in two files, PICTHIS4.EXE (the root section
  885.          which is always loaded) and PICTHIS4.OVL (the overlay
  886.          section, only parts of which are loaded at any time). Here's
  887.          how the overlayed program works. PICTHIS4.EXE loads and
  888.          looks for PICTHIS4.OVL. If it doesn't find PICTHIS4.OVL in
  889.          the default directory, you'll be prompted to provide a path
  890.          to it. As you use the program, parts of the overlay file are
  891.          loaded into RAM from disk, as required. After a part has
  892.          been loaded, it remains in RAM (no further disk accesses
  893.          needed) unless it is displaced by another part loaded in (if
  894.          there isn't enough room in RAM for both). If you have a
  895.          reasonably fast hard drive, the "swapping" should be barely
  896.          noticeable most of the time, but if you have a slow hard
  897.          drive or only floppy drives, you can make the "swapping" of
  898.          overlay parts instantaneous as follows:
  899.  
  900.            1. If you have extended memory with an XMS v. 2 device
  901.          driver loaded (typically called HIMEM.SYS, this comes with
  902.          WINDOWS, DOS 5.0, and other software, and is also available
  903.          from some BBS's; it must be installed as a device driver in
  904.          your CONFIG.SYS file--see the instructions that come with
  905.          it), or expanded memory (EMS 3.2+) hardware or software
  906.          emulation, then the overlay parts are automatically cached
  907.          in extended and/or expanded memory, respectively, and won't
  908.          need to be read from disk the next time they are needed. (Of
  909.          course, this assumes that you have enough free extended or
  910.          expanded memory to store the parts.) NOTE: Some EMS
  911.          emulators may not work correctly, since the overlay parts
  912.          are not just cached in expanded memory, but actually run
  913.          from it.
  914.  
  915.            2. If you have extended memory, but no XMS v. 2 driver and
  916.          no expanded memory, then you can set up a RAM disk (using
  917.          DOS's VDISK or RAMDRIVE or a proprietary driver) and copy
  918.          PICTHIS4.OVL to it BEFORE you load PictureThis. Make sure
  919.          that there is NOT a copy of PICTHIS4.OVL in the directory
  920.          from which you run PICTHIS4.EXE, or you won't be prompted
  921.          for the path of the overlay. When prompted, give the drive
  922.          designation for the ram drive containing PICTHIS4.OVL (most
  923.          likely, D:). The RAM disk must be at least 234KB to hold
  924.          PICTHIS4.OVL.
  925.            You need to carry out the following steps:
  926.  
  927.          a. Put the device driver for the RAM disk in your CONFIG.SYS
  928.          file (see your DOS manual).
  929.          b. Rename PICTHIS4.OVL to PICTHIS4.OV in your PICTHIS4
  930.          directory (REN PICTHIS4.OVL PICTHIS4.OV).
  931.          c. Copy PICTHIS4.OV in your PICTHIS4 directory to
  932.          PICTHIS4.OVL in your RAM disk (COPY PICTHIS4.OV
  933.          D:PICTHIS4.OVL).
  934.          d. At the DOS prompt type: SET RTVMCONV=0.
  935.  
  936.          This reduces the amount of conventional memory used for
  937.          overlays to the least possible amount and allows more room
  938.          for data. e. Run PictureThis.
  939.  
  940.          If you want to do this all of the time, you should use a
  941.  
  942.                                         112
  943.  
  944.          batch file that carries out the last three steps. A sample
  945.          batch file named PICTHS4B.BAT is included on the
  946.          distribution disks (you may have to change it slightly).
  947.  
  948.          3. If you only have floppies and no extended or expanded
  949.          memory, you can set up a RAM disk (in "lower" -- 640KB --
  950.          memory) and put PICTHIS4.OVL there for quick swapping -- but
  951.          you'll have less room for your drawing. As an alternative,
  952.          there is a compressed version of PictureThis with program
  953.          parts called PICTHS4C.EXE and PICTHS4C.OVL included on the
  954.          distribution disks, which can be used to minimize the memory
  955.          required (the RAM disk need only be 122KB), but swapping
  956.          will be slower, since the overlay parts must be decompressed
  957.          each time they are read from disk. If you do this regularly,
  958.          you should use a batch file as in number 2 above, but
  959.          modified to work with PICTHS4C. You will have to experiment
  960.          to see which setup is the best for your individual
  961.          situation.
  962.  
  963.          NOTE: If you are running PictureThis on a "slow" computer
  964.          (PC or XT), you can gain quite a bit of speed, and also some
  965.          pixel memory by switching to CGA mode (see Section 30). CGA
  966.          mode doesn't look as good on the screen, but you can do
  967.          everything in CGA mode that you can in the other modes, and
  968.          the printed output has the same high resolution.
  969.  
  970.          33. INCOMPATIBILITIES AND "BUGS"
  971.  
  972.            Please let us know about any problems you encounter with
  973.          PictureThis and/or CaptureThis. In particular, we would like
  974.          to know about incompatibilities with certain kinds of video
  975.          boards so we can try to make the programs as widely useful
  976.          as possible. Very few non-trivial programs are "bug"-free,
  977.          and we expect users to find some "bugs" in PictureThis. In
  978.          exchange for your "bug" report (assuming that you've found a
  979.          real "bug"), we'll send you a free copy of the next Release,
  980.          with the "bug" fixed. Also, we'd appreciate hearing your
  981.          suggestions on how PictureThis might be improved. Thanks for
  982.          helping us improve the performance of our programs!
  983.  
  984.                                         113
  985.  
  986.